package com.skyline.spot.model;

import java.util.Date;

import com.skyline.base.type.Activity;
import com.skyline.base.type.SpotRefrenceType;
import com.skyline.common.util.CommonUtils;

public class SpotRefrence {
	private Long id;
	private Long spotId;
	private String spotName;
	private String spotPortrait;

	private Long refrenceId;// 日志或相册的
	private String refrenceportrait;
	private String refrenceTitle;
	private String refrenceDigest;

	private SpotRefrenceType refrenceType;

	private Long providerId;
	private String providerNikename;
	private String providerPortrait;
	private String providerEmail;

	private Date createTime;

	private Date updateTime;
	private Activity activity;// 状态用来判断是否被删除

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getSpotId() {
		return spotId;
	}

	public void setSpotId(Long spotId) {
		this.spotId = spotId;
	}

	public String getSpotName() {
		return spotName;
	}

	public void setSpotName(String spotName) {
		this.spotName = spotName;
	}

	public String getSpotPortrait() {
		return spotPortrait;
	}

	public void setSpotPortrait(String spotPortrait) {
		this.spotPortrait = spotPortrait;
	}

	public Long getRefrenceId() {
		return refrenceId;
	}

	public void setRefrenceId(Long refrenceId) {
		this.refrenceId = refrenceId;
	}

	public String getRefrenceportrait() {
		return refrenceportrait;
	}

	public void setRefrenceportrait(String refrenceportrait) {
		this.refrenceportrait = refrenceportrait;
	}

	public String getRefrenceTitle() {
		return refrenceTitle;
	}

	public void setRefrenceTitle(String refrenceTitle) {
		this.refrenceTitle = refrenceTitle;
	}

	public String getRefrenceDigest() {
		return refrenceDigest;
	}

	public void setRefrenceDigest(String refrenceDigest) {
		this.refrenceDigest = refrenceDigest;
	}

	public SpotRefrenceType getRefrenceType() {
		return refrenceType;
	}

	public void setRefrenceType(SpotRefrenceType refrenceType) {
		this.refrenceType = refrenceType;
	}

	public Long getProviderId() {
		return providerId;
	}

	public void setProviderId(Long providerId) {
		this.providerId = providerId;
	}

	public String getProviderNikename() {
		return providerNikename;
	}

	public void setProviderNikename(String providerNikename) {
		this.providerNikename = providerNikename;
	}

	public String getProviderPortrait() {
		return providerPortrait;
	}

	public void setProviderPortrait(String providerPortrait) {
		this.providerPortrait = providerPortrait;
	}

	public String getProviderEmail() {
		return providerEmail;
	}

	public void setProviderEmail(String providerEmail) {
		this.providerEmail = providerEmail;
	}

	public Date getCreateTime() {
		return CommonUtils.cloneDate(createTime);
	}

	public void setCreateTime(Date createTime) {
		this.createTime = CommonUtils.cloneDate(createTime);
	}

	public Date getUpdateTime() {
		return CommonUtils.cloneDate(updateTime);
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = CommonUtils.cloneDate(updateTime);
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

}
